package com.atguigu.service;

import com.atguigu.pojo.Page;
import com.atguigu.pojo.UpdateTomcatCodeAndHeartbeatTask;

import java.util.List;

//在task中建立taskService,定义taskServiceImpl需要实现的方法
public interface UpdateTomcatCodeAndHeartbeatTaskService {
    public void addUpdateTomcatCodeAndHeartbeatTask(UpdateTomcatCodeAndHeartbeatTask updateTomcatCodeAndHeartbeatTask);
    public void updateUpdateTomcatCodeAndHeartbeatTask(UpdateTomcatCodeAndHeartbeatTask updateTomcatCodeAndHeartbeatTask);
    public void deleteUpdateTomcatCodeAndHeartbeatTaskById(String id);
    public UpdateTomcatCodeAndHeartbeatTask queryUpdateTomcatCodeAndHeartbeatTaskById(String id);
    public List<UpdateTomcatCodeAndHeartbeatTask> queryUpdateTomcatCodeAndHeartbeatTasks();
    public Page page(Integer pageNo, Integer pageSize);
}
